<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>修改</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="__LAYUI__/css/layui.css" media="all">
    <link rel="stylesheet" href="__CSS__/common/layui.form.css" media="all">
    <link rel="stylesheet" href="__STATIC__/plugs/font-awesome/css/font-awesome.min.css" media="all">

</head>
<body>
<div class="layui-container">
    <form class="layui-form layui-clear" action="{:url('duty/record/recorddetailedit',array('recordId'=>$recordId,'recorddetailId'=>$info.id))}" method="post">


        <div class="layui-form-item">
            <label class="layui-form-label">事件&nbsp;<i class="layui-icon arrow">&#xe642;</i></label>
            <div class="layui-input-block">
                <select name="enterpriseId" lay-filter="linkage" data-url="{:url('admin/ajax.unit/getChargePersonList')}" data-child="chargePerson" >

                    {volist name="eventList" id="item"}
                    <option  disabled value="{$key}" {if $key == $eventId}selected{/if}>{$item}</option>
                    {/volist}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">步骤序号</label>
            <div class="layui-input-block">
                <input class="layui-input" type="number" name="stepIndex"  autocomplete="off" placeholder="输入步骤序号" value="{$info.stepIndex}">
            </div>
        </div>


        <div class="layui-form-item">
            <label class="layui-form-label">执行项目&nbsp;<i class="layui-icon arrow">&#xe642;</i></label></label>
            <div class="layui-input-block">
                <select class="actionId" name="actionId" lay-verify="required">
                    <option></option>
                    {volist name="type" id="item"}
                    <option value="{$key}" {if  $info.actionId==$item}selected{/if}>{$item}</option>
                    {/volist}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">责任人</label>
            <div class="layui-input-block">
                <select class="chargeperson" name="chargePerson" lay-verify="required">
                    {volist name="chargeperson" id="item"}
                    <option value="{$key}"  {if  $info.chargePerson==$key}selected{/if}>{$item}</option>
                    {/volist}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">完成时间</label>
            <div class="layui-input-block">
                <input type="text" name="finishTime" id="finishTime"  class="layui-input" placeholder="完成时间" value="{$info.finishTime}">
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">行动时间</label>
            <div class="layui-input-block">
                <input type="text" name="implementTime" id="implementTime"  class="layui-input" placeholder="行动时间"  value="{$info.implementTime}" >
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">执行状态</label>
            <div class="layui-input-block">
                <select name="implementStatus" id="implementStatus">
                    <option></option>
                    {volist name="status" id="item"}
                    <option value="{$key}"  {if  $info.implementStatus==$key}selected{/if}>{$item}</option>
                    {/volist}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">行动内容</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea" name="stepDesc" data-set="stepDesc" placeholder="请输入行动内容">{$info.stepDesc}</textarea>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label">专家意见</label>
            <div class="layui-input-block">
                <textarea class="layui-textarea" name="expertOpinion" data-set="expertOpinion" placeholder="请输入行动内容">{$info.expertOpinion}</textarea>
            </div>
        </div>
        <input type="hidden" value="{$info.id}" name="id">
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn btn-green" id="save" lay-submit lay-filter="save">保 存 </button>
                <button class="layui-btn layui-btn-primary" type="reset">重 置</button>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="__LAYUI__/layui.js"></script>
<script type="text/javascript" src="__JS__/duty/recorddetail.js"></script>


</body>
</html>

